package com.springcloud.sleuth.service;

import com.springcloud.sleuth.HelloFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Desc:
 * @Date: 2020-06-27
 * @Version:v1.0
 */
@Service
public class HelloService {

    @Autowired
    private HelloFeignService helloFeignService;

    public String sayHello(String name) {
        return helloFeignService.sayHelloFromClientEureka(name);
    }
}
